package com.example.money.Dao;

import com.example.money.Entity.table;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface UpdataDao {
    /**
     * 更改出库信息
     */
    @Update("update product_information set product=#{product},  name=#{name}, quantity=#{quantity}, price=#{price}, total_prices=#{total_prices} , " +
            "payment=#{payment}, debt=#{debt}, staff=#{staff}, cark=#{cark} , swiping_card=#{swiping_card} , remark=#{remark} where product_id=#{product_id} ")
    int updata(table product_information);

}
